Repository navigation
fix(grid): pin a column with a small minWidth through pinned - 22.3.x - #18074
Open
onlyexeption wants to merge 2 commits into
Open
onlyexeption wants to merge 2 commits into
onlyexeption wants to merge 2 commits into
Conversation
onlyexeption
requested review from
Marina-L-Stoyanova
and
a balanced review from Copilot
November 30, 2026 10:23
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the column-width and pinning fix.
No open issues 🎉
What changed in this PR
Fixes #18039 by correcting width calculations for grid columns with no explicit width and a minWidth below 136px, allowing the pinned input to pin and unpin them reliably.
Changes:
- Recalculates constrained column widths and prevents non-finite values from becoming the default width.
- Adds regression tests for pinning, unpinning, hidden columns, and sizing when space is insufficient.
- Documents the fix in the changelog.
| File | Description |
|---|---|
| projects/igniteui-angular/grids/grid/src/grid.pinning.spec.ts | Adds small-minimum-width pinning and unpinning regression tests. |
| projects/igniteui-angular/grids/grid/src/column-resizing.spec.ts | Tests minimum-width sizing when the grid lacks space. |
| projects/igniteui-angular/grids/core/src/columns/column.component.ts | Corrects width recalculation and stores the constrained default width. |
| CHANGELOG.md | Documents the pinning fix and previous non-finite width behavior. |
Review effort: Balanced
# Conflicts: # CHANGELOG.md
Contributor
mddragnev
self-requested a review
December 2, 2026 15:04
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #18039
Description
Motivation / Context
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
How Has This Been Tested?
Test Configuration:
Screenshots / Recordings
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)